<template>

<div id="qmviewer_container" style="height: 100%;">  
    <qmviewer v-bind:modelName="modelName" v-bind:isCompont="isCompont"  @callFather="callFather"></qmviewer>  
    </div>
</template>

<script>
import qmviewer from '../components/qmviewer'
export default {
  name: "QModelViewer",
   data() {
    return {
      viewerDemo:null,
      modelName:"",
      isCompont:true,
    };
   },
     // 注册组件
  components: {
    qmviewer
  },
   created() {   
  
    },
    mounted(){
             
    },    
  methods: {
    callFather(parm) {
      this.viewerDemo=parm;
      console.log('组件Demo',parm);
    },
  }
};

</script>
<style>
</style>

